count = 0
print("请输入任意字符串>>>")
str1 = input()
for i in str1:
    if i == 'a':
        count += 1
print(f"a出现了{count}次")
